package com.yeqifu.bus.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 业务管理的路由器
 * @Date: 2020/12/5 9:33
 */
@Controller
@RequestMapping("bus")
public class BusinessController {
    /**
     * 跳转到类型管理页面
     * /sys/totypemanager
     * @return
     */
    @RequestMapping("totypemanager")
    public String totypemanager(){
        return "business/type/TypeManager";
    }

    /**
     * 跳转到月份统计界面管理页面
     * @return
     */
    @RequestMapping("tomonthsaletonji")
    public String tomonthsaletonji(){
        return "business/SalesTonji/monthsales";
    }

    /**
     * 跳转到季度统计界面页面
     * @return
     */
    @RequestMapping("toquartersaletonji")
    public String toyearsaletonji(){
        return "business/SalesTonji/quartersales";
    }


    /**
     * 跳转到客户管理页面
     * @return
     */
    @RequestMapping("toCustomerManager")
    public String toCustomerManager(){
        return "business/customer/customerManager";
    }

    /**
     * 跳转到供应商管理页面
     * @return
     */
    @RequestMapping("toProviderManager")
    public String toProviderManager(){
        return "business/provider/providerManager";
    }

    /**
     * 跳转到商品管理页面
     * @return
     */
    @RequestMapping("toGoodsManager")
    public String toGoodsManager(){
        return "business/goods/goodsManager";
    }

    /**
     * 跳转到商品管理--left
     * @return
     */
    @RequestMapping("toGoodsLeft")
    public String togoodsLeft(){
        return "business/goods/goodsLeft";
    }
    /**
     * 跳转到部门管理--right
     * @return
     */
    @RequestMapping("toGoodsRight")
    public String togoodsRight(){
        return "business/goods/goodsRight";
    }



    /**
     * 跳转到商品日期管理页面
     * @return
     */
    @RequestMapping("toGoodsDateManager")
    public String toGoodsdateManager(){
        return "business/goodsdate/goodsdateManager";
    }

    /**
     * 跳转到商品日期管理--left
     * @return
     */
    @RequestMapping("toGoodsDateLeft")
    public String togoodsdateLeft(){
        return "business/goodsdate/goodsdateLeft";
    }
    /**
     * 跳转到商品日期管理--right
     * @return
     */
    @RequestMapping("toGoodsDateRight")
    public String togoodsdateRight(){
        return "business/goodsdate/goodsdateRight";
    }



    /**
     * 跳转到业务管理员出库管理页面
     * @return
     */
    @RequestMapping("toInportManager")
    public String toInportManager(){
        return "business/inport/inportManager";
    }

    /**
     * 跳转到业务管理员出库管理页面
     * @return
     */
    @RequestMapping("toOutportManager")
    public String toOutportManager(){
        return "business/outport/outportManager";
    }

    /**
     * 跳转到仓库管理员入库操作管理页面
     * @return
     */
    @RequestMapping("toWareInportManager")
    public String toWareInportManager(){
        return "business/inport/wareInportManager";
    }

    /**
     * 跳转到仓库管理员仓库入库操作管理页面
     * @return
     */
    @RequestMapping("toWareOutportManager")
    public String toWareOutportManager(){
        return "business/outport/wareOutportManager";
    }

    /**
     * 跳转到商品销售管理页面
     * @return
     */
    @RequestMapping("toSalesManager")
    public String toSalesManager(){
        return "business/sales/salesManager";
    }

    /**
     * 跳转到商品销售管理查询页面
     * @return
     */
    @RequestMapping("toSalesbackManager")
    public String toSalesbackManager(){
        return "business/salesback/salesbackManager";
    }

}
